Adding sounds to a movie involves creating a layer for the sound, assigning the sound, and setting options in the Sound panel of the Frame Properties dialog box.
To add sound to a movie:
1 | Import the sound into the movie. |
See Importing sounds. | |
2 | Choose Insert > Layer to create a layer for sound. |
You can place sounds on as many layers as you want. Each layer acts like a separate sound channel. The sounds on all layers are combined when you play back the movie. | |
3 | Click the frame of the sound layer where you want the sound to start. |
4 | Choose Modify > Frame and then click the Sound tab in the Frame Properties dialog box. |
5 | From the Sound pop-up menu, choose the name of the sound file to associate with this sound layer.
![]() |
If the sound doesn't appear in the pop-up menu, you have to import it. See Importing sounds. | |
6 | Choose a synchronization option: |
![]() |
Event synchronizes the sound to the occurrence of an event. An event sound plays when its starting keyframe is first displayed and plays in its entirety, independently of the Timeline, even if the movie stops. Event sounds are mixed when you play your published movie. |
![]() |
Start is the same as Event, except that if the sound is already playing, a new instance of the sound is started. |
![]() |
Stop silences the specified sound. |
![]() |
Stream synchronizes the sound for playing on a web site. Flash forces animation to keep pace with stream sounds. If Flash can't draw animation frames quickly enough, it skips frames. Unlike event sounds, stream sounds stop if the animation stops. Also, a stream sound can never play longer than the length of the frames it occupies. Stream sounds are mixed when you publish your movie. |
7 | Enter a value in Loop to specify the number of times the sound should loop; for continuous play, enter a very high number. |
8 | Use the Sound window controls to edit the sound as needed. Choose from the following options. |
![]() |
None applies no effects to the sound file. Choose this option to remove previously applied effects. |
![]() |
Left Channel/Right Channel plays sound only in the left or right channel. |
![]() |
Fade Left to Right/Fade Right to Left shifts the sound from one channel to the other. |
![]() |
Fade In gradually increases the amplitude of a sound over its duration. |
![]() |
Fade Out gradually decreases the amplitude of a sound over its duration. |
![]() |
Custom lets you create your own sound effects. Use the Sound window to customize the sound wave. See Using the sound-editing controls. |
![]() |
To use a shortcut for adding sounds:
1 | Make the sound layer the current layer. |
2 | Drag a sound from the Library preview window directly to the Stage. |
Flash places the sound in the current frame with default sound settings. | |
![]() |